home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / move / move.dir / 00004_Script_4 < prev    next >
Text File  |  1999-03-05  |  2KB  |  96 lines

  1. on stopmovie
  2.   puppetsprite 15, false
  3.   
  4. end
  5.  
  6. on keydown
  7.   if the key = "q" then
  8.     puppetsprite 15, false
  9.     go "end"
  10.   end if
  11. end 
  12.  
  13.  
  14. on startmovie
  15.   global currentpage,currentproject,loop2var,loop2var2, currentmsg
  16.   
  17.   
  18.   
  19.   --cursor script
  20.   
  21.   set the cursor of sprite 17 = [73,74]
  22.   set the cursor of sprite 20 = [73,74]
  23.   set the cursor of sprite 102 = [73,74]
  24.   set the cursor of sprite 103 = [73,74]
  25.   set the cursor of sprite 115 = [73,74]
  26.   
  27.   set currentpage = 59
  28.   set currentproject = 59
  29.   
  30.   set currentmsg = 0
  31.   
  32. end
  33.  
  34. on gotoPage number,project,webPage
  35.   global currentproject,currentpage
  36.   
  37.   
  38.   
  39.   set currentproject = number
  40.   set the member of sprite 105 = project
  41.   
  42.   --load the next page picture
  43.   set the member of sprite 15 = member string(line currentpage of field "pages")
  44.   
  45.   
  46.   --from the web version
  47.   --gotoNetPage WebPage,"main"
  48. end
  49.  
  50. on showmousedown rolloversprite
  51.   global currentproject,currentpage
  52.   
  53.   --set currentproject = rolloversprite
  54.   --set currentpage = rolloversprite
  55.   set the locH of sprite 21 = the locH of sprite rolloversprite
  56.   set the member of sprite 105 = line currentproject of field "project"
  57.   
  58.   
  59. end
  60.  
  61. on showrollover rolloversprite
  62.   set the locH of sprite 20 = the locH of sprite rolloversprite
  63.   set the member of sprite 105 = line (rolloversprite) of field "project"
  64. end
  65.  
  66.  
  67. on buttonclick whichsprite
  68.   global currentproject, currentpage
  69.   --set the locH of sprite 3 = -610
  70.   set the locH of sprite 20 = -50
  71.   set the locH of sprite 21 = the locH of sprite whichsprite
  72.   
  73.  
  74.   set currentproject = whichsprite
  75.   set currentpage = whichsprite
  76.   
  77.   
  78.   
  79.   
  80.   set the member of sprite 105 = line currentproject of field "project"
  81.   
  82.   
  83.   gotoPage currentproject,line currentproject of field "project",line currentpage of field "pages"
  84.   
  85.   
  86. end
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.